package com.metagurukul.informer.valueObjects;
/**
 * This class is mapped with database table users
 */
public class Users{
	private String id;
	private String name;
	private String password;
	private boolean isAdmin;
	public void setId(String id) {
		this.id = id;
	}
	public Users(String id, String name, String password) {
		super();
		this.id = id;
		this.name = name;
		this.password = password;
	}
	public Users(String id, String name, String password,boolean isAdmin) {
		super();
		this.id = id;
		this.name = name;
		this.password = password;
		this.isAdmin=isAdmin;
	}
	public String getId() {
		return id;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getName() {
		return name;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPassword() {
		return password;
	}
	public void setAdmin(boolean isAdmin) {
		this.isAdmin = isAdmin;
	}
	public boolean isAdmin() {
		return isAdmin;
	}
}